﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assessment.Management.SharedComponent.Params.ManagerParam;
using Assessment.Management.DAO.CommonManagers;

namespace Assessment.Management.BIZ.CommonBIZ
{
    public class ClassBIZ
    {

        public void GetListClassByTeacherID(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.GetListClassByTeacherID(param);
        }
        public void GetListClassByDepartmentID(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.GetListClassByDepartmentID(param);
        }
        public void GetClasses(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.GetListClass(param);
        }
        public void DeleteClasses(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.DeleteClasses(param);
        }

        public void GetLastClassCode(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.GetLastClassCode(param);
        }

        public void GetClassToEditByCode(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.GetClassToEditByCode(param);
        }

        public void CreateClass(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.CreateClass(param);
        }

        public void UpdateClass(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.UpdateClass(param);
        }

        public void SearchClasses(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.SearchClasses(param);
        }

        public void CheckExitsData(ClassParam param)
        {
            var dao = new ClassDAO();
            dao.CheckExitsData(param);
        }
    }
}
